package com.iknow.xmpp.service;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;

public class UserInfo
  implements Parcelable
{
  public static final Parcelable.Creator<UserInfo> CREATOR = new Parcelable.Creator()
  {
    public UserInfo createFromParcel()
    {
      return new UserInfo(paramParcel, null);
    }

    public UserInfo[] newArray()
    {
      return new UserInfo[paramInt];
    }
  };
  private String mAvatarId;
  private final String mFullJid;

  private UserInfo(Parcel paramParcel)
  {
    this.mFullJid = paramParcel.readString();
    this.mAvatarId = paramParcel.readString();
  }

  public UserInfo(String paramString)
  {
    this.mFullJid = paramString;
  }

  public int describeContents()
  {
    return 0;
  }

  public String getAvatarId()
  {
    return this.mAvatarId;
  }

  public String getJid()
  {
    return this.mFullJid;
  }

  public void setAvatarId(String paramString)
  {
    this.mAvatarId = paramString;
  }

  public void writeToParcel(Parcel paramParcel, int paramInt)
  {
    paramParcel.writeString(this.mFullJid);
    paramParcel.writeString(this.mAvatarId);
  }
}